
public class Lt2 {
	public static void main(String[] args) {
		int a, b;
		
		a = 4;
		b = 5;
		a = a + b;
		System.out.println("a = " + a);
		
		a = 4;
		b = 5;
		a += b; // a = a + b;
		System.out.println("a = " + a);
		
		a = 4;
		b = 5;
		a += b*2;
		System.out.println("a = " + a);
		
		a = 4;
		b = 5;
		a *= b;
		System.out.println("a = " + a);
		
		a = 4;
		b = 5;
		int c;
		c = a > b ? 10 : 20;
		System.out.println("c = " + c);
		if (a>b) {
			c = 10;
		} else {
			c = 20;
		}
	}

}
